package com.wht.sip.config;

import cn.hutool.core.net.NetUtil;
import lombok.Data;
import org.noear.solon.annotation.BindProps;
import org.noear.solon.annotation.Configuration;

/**
 * @author by HaiTao.Wang on 2025/9/11.
 */
@BindProps(prefix="sip")
@Configuration()
@Data
public class SipConfig {

    private String ip = NetUtil.getLocalhostStr();

    private String showIp = NetUtil.getLocalhostStr();

    private Integer port;

    private String domain;

    private String id;

    private String password;

    Integer ptzSpeed = 50;

    Integer registerTimeInterval = 120;

    private boolean alarm = false;

    private long timeout = 1000;
}
